
/**
 * ...
 * @author HTML5
 */

function Square()
{
	tomahawk_ns.Shape.apply(this);
}

Tomahawk.registerClass( Square, "Square" );
Tomahawk.extend( "Square", "Shape" );

Square.prototype.color = "black";

Square.prototype.draw = function(context)
{	
	this.clear();
	this.beginPath();
	this.fillStyle(this.color);
	this.fillRect(0,0,this.width,this.height);
	this.fill();
	this.closePath();
	
	//call super
	tomahawk_ns.Shape.prototype.draw.apply(this,[context]);
	
	this.mouseEnabled = true;
};